package tables

import (
	"time"
)

type YogaGroupClass struct {
	Id                int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	Duration          int       `xorm:"" json:"duration" form:"duration" mapstructure:"duration"`
	Contain           int       `xorm:"" json:"contain" form:"contain" mapstructure:"contain"`
	Difficulty        float32   `xorm:"" json:"difficulty" form:"difficulty" mapstructure:"difficulty"`
	TeacherId         int       `xorm:"" json:"teacher_id" form:"teacher_id" mapstructure:"teacher_id"`
	Classroom         string    `xorm:"" json:"classroom" form:"classroom" mapstructure:"classroom"`
	Content           string    `xorm:"" json:"content" form:"content" mapstructure:"content"`
	Name              string    `xorm:"" json:"name" form:"name" mapstructure:"name"`
	VenueId           int       `xorm:"" json:"venue_id" form:"venue_id" mapstructure:"venue_id"`
	CreatedAt         time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt         time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt         time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	Acid              int       `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	SubMchId          string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
	ClassType         int       `xorm:"" json:"class_type" form:"class_type" mapstructure:"class_type"`
	AppointmentNotice string    `xorm:"" json:"appointment_notice" form:"appointment_notice" mapstructure:"appointment_notice"`
	Tag               string    `xorm:"" json:"tag" form:"tag" mapstructure:"tag"`
	Yprice            float32   `xorm:"" json:"yprice" form:"yprice" mapstructure:"yprice"`
	Price             float32   `xorm:"" json:"price" form:"price" mapstructure:"price"`
	BuyCount          int       `xorm:"" json:"buy_count" form:"buy_count" mapstructure:"buy_count"`
	WatchCount        int       `xorm:"" json:"watch_count" form:"watch_count" mapstructure:"watch_count"`
	ReservationCount  int       `xorm:"" json:"reservation_count" form:"reservation_count" mapstructure:"reservation_count"`
	IsPoints          int       `xorm:"" json:"is_points" form:"is_points" mapstructure:"is_points"`
	Points            int       `xorm:"" json:"points" form:"points" mapstructure:"points"`
	Weight            int       `xorm:"" json:"weight" form:"weight" mapstructure:"weight"`
	IsHome            int       `xorm:"" json:"is_home" form:"is_home" mapstructure:"is_home"`
	StartTime         time.Time `xorm:"" json:"start_time" form:"start_time" mapstructure:"start_time"`
	EndTime           time.Time `xorm:"" json:"end_time" form:"end_time" mapstructure:"end_time"`
	IsHot             int       `xorm:"" json:"is_hot" form:"is_hot" mapstructure:"is_hot"`
	IsRecommended     int       `xorm:"" json:"is_recommended" form:"is_recommended" mapstructure:"is_recommended"`
	Cover             string    `xorm:"" json:"cover" form:"cover" mapstructure:"cover"`
	GiftPoints        int       `xorm:"" json:"gift_points" form:"gift_points" mapstructure:"gift_points"`
	TeacherName       string    `xorm:"" json:"teacher_name" form:"teacher_name" mapstructure:"teacher_name"`
	VenueName         string    `xorm:"" json:"venue_name" form:"venue_name" mapstructure:"venue_name"`
}
